#ifndef MAINWINDOWS_H
#define MAINWINDOWS_H

#include <DTitlebar>
#include <DMainWindow>
#include <QMouseEvent>

DWIDGET_USE_NAMESPACE

namespace Ui {
class MainWindow;
}

class MainWindow : public DMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(DMainWindow *parent = 0);
    void setTheme(DGuiApplicationHelper::ColorType);
    ~MainWindow();

public slots:
    void updateUi();

private:
    Ui::MainWindow *ui;

};

#endif // WIDGET_H
